package org.jthompson.monsoon.mock;

import org.jthompson.monsoon.annotations.Event;
import org.jthompson.monsoon.annotations.Event.EventType;

public class Dispatcher
{

	@Event(name="testEvent", type=EventType.DISPATCHER, async=true, waitForCompletion=false)
	public Action triggerEvent()
	{
		Action event = new Action();
		event.setName("testevent");
		event.setDescription("this event came from: " + getClass().getCanonicalName());
		return event;
	}
	
}
